@font-face {
  font-family: "rubik";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/rubik/rubik-400.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "rubik";
  font-style: normal;
  font-weight: 700;
  src: url("../fonts/rubik/rubik-700.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "raleway";
  font-style: normal;
  font-weight: 700;
  src: url("../fonts/raleway/raleway-800.woff2") format("woff2");
  font-display: swap;
}

.visually-hidden {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  clip: rect(0 0 0 0);
  overflow: hidden;
}

.button {
  display: flex;
  block-size: 8px;
  justify-content: center;
  align-items: center;
  background-color: #FFE17F;
  color: #000000;
  border: none;
  font-family: raleway, sans-serif;
  font-size: 18px;
  line-height: 21px;
  font-weight: 800;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 0.2em;
  cursor: pointer;
  transition: block-size 50ms ease-in;
}

.button:hover,
.button:focus {
  block-size: 40px;
  transition: background-color 50ms ease-out;
}

.button:active {
  background-color: #FFCC33;
  transition: block-size 50ms ease-in, background-color 50ms ease-in;
}

.button:focus {
  outline-color: transparent;
  outline: 2px #AF4FFF solid;
}

.page {
  block-size: 100%;
  font-family: rubik, sans-serif;
}

.page__body {
  min-block-size: 100%;
  display: grid;
  grid-template-rows: min-content 1fr min-content;
  margin: 0;
  background-color: #FFFFFF;
  color: #000000;
}

.main-header__wrapper {
  inline-size: 1160px;
  margin-inline: auto;
  background-color: #FFE17F;
  margin-block-start: 40px;
}

.main-header__logo {
  margin: 0;
  margin-block: -22px 30px;
  margin-inline-start: 60px;
}

.logo {
  display: inline-block;
}

.logo__icon {
  display: block;
  fill: #000000;
  transition: fill-opacity 50ms ease-out;
}

.logo:hover .logo__icon {
  fill-opacity: 0.6;
}

.logo:active .logo__icon {
  fill-opacity: 0.3;
}

.logo:focus .logo__icon {
  outline: none;
  border: 2px #AF4FFF solid;
}

.main-nav {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.main-nav__list {
  margin-inline: 60px;
}

.main-nav a {
  color: #000000;
  text-decoration: none;
}

.main-nav a:hover {
  opacity: 0.6;
}

.main-nav a:hover svg {
  fill-opacity: 0.6;
}

.main-nav a:active {
  opacity: 0.3;
}

.main-nav a:active svg {
  fill-opacity: 0.3;
}

.main-nav a:focus {
  outline: 2px #AF4FFF solid;
}

.user-nav {
  display: flex;
  justify-content: space-between;
  gap: 26px;
  font-size: 18px;
  line-height: 30px;
}

.user-nav__list {
  margin: 0;
  margin-block: 5px;
  padding: 0;
  list-style-type: none;
}

.user-seach {
  display: flex;
  align-items: center;
  min-inline-size: 517px;
  font-size: 16px;
  line-height: 20px;
}

.user-seach__input {
  flex-grow: 1;
  padding-inline: 48px 0;
  padding-block: 8px;
  background-color: transparent;
  background-image: url("../img/seach.svg");
  background-repeat: no-repeat;
  background-size: 16px 16px;
  background-position: center left 16px;
  border: 2px solid #000000;
  border-radius: 50px 0 0 50px;
  font-family: inherit;
  font-size: 16px;
  line-height: 20px;
}

.user-seach__input:focus {
  outline: 2px #AF4FFF solid;
  outline-offset: 2px;
}

.user-seach__button {
  inline-size: 160px;
  block-size: 40px;
  background-color: transparent;
  border: 2px solid #000000;
  border-inline-start: none;
  border-radius: 0 50px 50px 0;
  cursor: pointer;
  transition: background-color 300ms ease-out, color 300ms ease-out, opacity 300ms ease-out;
}

.user-seach__button:hover,
.user-seach__button:active {
  background-color: #000000;
  color: #FFFFFF;
}

.user-seach__button:active {
  opacity: 0.3;
  background-color: #000000;
}

.user-seach__button:focus {
  outline: 2px #AF4FFF solid;
  outline-offset: 2px;
}

.user-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 28px;
  align-items: center;
}

.user-login {
  min-inline-size: 231px;
}

.user-nav__item {
  position: relative;
}

.user-nav__item a:has(.user-nav__icon) {
  padding-inline-start: 24px;
}

.user-nav__icon {
  position: absolute;
  inset: 9px 9px 9px 0;
}

.user-login--sign-in .user-login__item--sign-out {
  display: none;
}

.user-login--sign-out .user-login__item--sign-in {
  display: none;
}

.user-list__cart .user-nav__icon {
  inset: 6px 12px 10px 0;
}

.user-list__cart a::before {
  display: flex;
  position: absolute;
  z-index: 2;
  content: "2";
  inline-size: 21px;
  block-size: 21px;
  justify-content: center;
  align-items: center;
  left: -16px;
  top: 4px;
  background-color: #FFFFFF;
  color: #000000;
  border-radius: 10px;
  font-size: 14px;
  line-height: 16px;
}

.site-nav {
  display: flex;
  justify-content: space-between;
  padding-block-end: 16px;
}

.nav-catalog {
  display: flex;
  position: relative;
}

.nav-catalog:focus-within {
  outline-color: transparent;
  outline: 2px #AF4FFF solid;
}

.nav-catalog__button {
  border: none;
  padding: 0;
  background-color: transparent;
  font-family: raleway, sans-serif;
  font-size: 18px;
  line-height: 21px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  cursor: pointer;
}

.nav-catalog__toggle {
  inline-size: 50px;
  block-size: 50px;
  border: 2px solid rgba(0, 0, 0, 0.3);
  border-radius: 50px;
  background-color: transparent;
  cursor: pointer;
}

.nav-catalog__button:focus,
.nav-catalog__toggle:focus {
  outline-color: transparent;
}

.nav-catalog__icon {
  fill: #000000;
  fill-opacity: 0.3;
}

.nav-catalog__icon--opened {
  display: none;
}

.nav-catalog__button+.nav-catalog__toggle {
  margin-inline-start: 7px;
}

.nav-catalog__button:hover+.nav-catalog__toggle,
.nav-catalog__button:active+.nav-catalog__toggle {
  border-color: #000000;
  opacity: 1;
}

.nav-catalog__button:hover+.nav-catalog__toggle .nav-catalog__icon,
.nav-catalog__button:active+.nav-catalog__toggle .nav-catalog__icon {
  fill-opacity: 1;
}

.nav-catalog__toggle:hover,
.nav-catalog__toggle:active {
  border-color: #000000;
  opacity: 1;
}

.nav-catalog__toggle:hover .nav-catalog__icon,
.nav-catalog__toggle:active .nav-catalog__icon {
  fill-opacity: 1;
}

.nav-catalog__main-list {
  display: none;
  inline-size: 1100px;
  max-block-size: 180px;
  position: absolute;
  z-index: 2;
  top: 52px;
  left: -60px;
  margin: 0;
  padding-inline-start: 60px;
  padding-block: 14px 27px;
  list-style-type: none;
  background-color: #FFE17F;
}

.nav-catalog:focus-within .nav-catalog__main-list {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.nav-catalog:focus-within .nav-catalog__icon--closed {
  display: none;
}

.nav-catalog:focus-within .nav-catalog__icon--opened {
  display: inline-block;
  text-align: center;
  padding-block-end: 3px;
}

.nav-catalog__list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  min-inline-size: 181px;
  min-block-size: 120px;
  margin: 0;
  padding: 0;
  list-style-type: none;
}

.site-nav__list {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

.site-list {
  display: flex;
  justify-content: space-between;
  gap: 45px;
  align-items: center;
}

.site-list__item {
  font-family: raleway, sans-serif;
  font-size: 18px;
  line-height: 21px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.top-models__wrapper {
  inline-size: 1160px;
  margin-inline: auto;
  margin-block-end: 70px;
}

.top-models__list {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  list-style-type: none;
}

.top-models__item {
  position: relative;
}

.model__number {
  text-align: right;
  margin: 0;
  padding-inline-end: 49px;
  padding-block-start: 55px;
  padding-block-end: 37px;
  background-color: #FFE17F;
  color: #FFFFFF;
  font-size: 180px;
  line-height: 30px;
  font-weight: 700;
}

.model__img {
  display: block;
  position: absolute;
  top: -28px;
}

.model__info {
  inline-size: 560px;
  margin-inline-start: auto;
  margin-block-start: -29px;
  margin-block-end: 38px;
}

.model__slogan {
  font-family: raleway, sans-serif;
  font-size: 50px;
  line-height: 50px;
  font-weight: 800;
  margin: 0;
  margin-inline-end: 15px;
  margin-block-end: 29px;
}

.model__description {
  font-size: 18px;
  line-height: 30px;
  margin: 0;
  margin-block-end: 51px;
}

.model__buttons {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-block-end: 49px;
}

.model__about {
  inline-size: 220px;
  block-size: 8px;
}

.model__toggles {
  display: flex;
  margin-block: 14px;
  gap: 20px;
}

.model__toggle {
  inline-size: 12px;
  block-size: 12px;
  margin: 0;
  padding: 0;
  background-color: #FFFFFF;
  border: 2px solid #000000;
  border-radius: 50%;
  cursor: pointer;
  transition: border-color 50ms ease-out;
}

.model__toggle:hover {
  border-color: rgba(0, 0, 0, 0.6);
}

.model__toggle:active {
  border-color: rgba(0, 0, 0, 0.3);
}

.model__toggle:focus {
  outline: 2px #AF4FFF solid;
  outline-offset: 2px;
}


.model__toggle--current {
  background-color: #000000;
  transition: opacity 50ms ease-out;
}

.model__toggle--current:hover {
  opacity: 0.6;
}

.model__toggle--current:active {
  opacity: 0.3;
}

.model__toggle--current:focus {
  outline: 2px #AF4FFF solid;
  outline-offset: 2px;
}

.propety__list {
  display: flex;
  gap: 20px;
  margin: 0;
}

.propety__number {
  font-size: 36px;
  line-height: 30px;
  margin-block-end: 12px;
}

.propety__description {
  margin: 0;
  font-size: 16px;
  line-height: 30px;
}

.model__control {
  position: absolute;
  z-index: 2;
  top: 227px;
  left: 30px;
  display: flex;
  justify-content: space-between;
  inline-size: 530px;
}

.model__slider-button {
  inline-size: 20px;
  height: 60px;
  color: #000000;
  background-color: #FFFFFF;
  border: none;
  background-image: url("../img/arrow-right.svg");
  background-position: center;
  background-repeat: no-repeat;
  cursor: pointer;
  transition: opacity 50ms ease-out;
}

.model__slider-button:hover {
  opacity: 0.6;
}

.model__slider-button:active {
  opacity: 0.3;
}

.model__slider-button:focus {
  outline: 2px #AF4FFF solid;
  outline-offset: 2px;
}

.model__slider-button--prev {
  transform: rotate(180deg);
}

.index-catalog__wrapper {
  inline-size: 1160px;
  margin-inline: auto;
  margin-block-end: 172px;
}

.index-catalog__list {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style-type: none;
}

.index-catalog__link {
  position: relative;
  display: block;
  text-decoration: none;
  color: inherit;
}

.index-catalog__link::before {
  position: absolute;
  content: "";
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(255, 255, 255, 0);
}

.category {
  inline-size: 160px;
  display: flex;
  flex-direction: column;
}

.category__img {
  box-sizing: border-box;
  block-size: 160px;
  margin: 0;
  margin-block-end: 32px;
  padding-block-start: 40px;
  text-align: center;
  background-color: #FFE17F;
  transition: background-color 50ms ease-out;
}

.index-catalog__link:hover .category__img {
  background-color: #FFC700;
  transition: background-color 50ms ease-out;
}

.index-catalog__link:active .category__img {
  background-color: #FFE17F;
}

.index-catalog__link:active::before {
  background-color: rgba(255, 255, 255, 0.3);
}

.index-catalog__link:focus {
  outline: 2px #AF4FFF solid;
  outline-offset: 2px;
}

.category__name {
  margin: 0;
  margin-block-end: 12px;
  text-align: left;
  font-family: raleway, sans-serif;
  font-size: 18px;
  line-height: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.servises {
  background-color: #F0F0F0;
  border: 1px solid transparent;
}

.servises__wrapper {
  margin-block-start: -102px;
  inline-size: 1160px;
  display: flex;
  margin-inline: auto;
  margin-block-end: 72px;
 }

.servises__toggles {
  display: flex;
  flex-direction: column;
  justify-content: start;
  gap: 77px;
  margin: 0;
  margin-block-start: 64px;
}

.servises__toggle {
  inline-size: 160px;
  block-size: 8px;
}

.servises__toggle--current {
  inline-size: 280px;
  block-size: 40px;
  padding-inline-end: 120px;
  background-color: #000000;
  color: #FFE17F;
}

.servises__toggle--current:hover {
  background-color: #000000;
  color: rgba(255, 225, 127, 0.5)
}

.servises__toggle--current:active {
  background-color: #000000;
  color: rgba(255, 225, 127, 0.3)
}

.servises__list {
  position: relative;
  margin: 0;
  padding: 0;
  list-style-type: none;
}

.servises__list::before {
  position: absolute;
  content: "";
  inline-size: 7px;
  block-size: 319px;
  background-color: #000000;
}

.servises__item {
  margin-inline-start: 116px;
  margin-inline-end: 63px;
  margin-block: 72.5px;
  padding-inline-end: 246px;
}

.servises__item--delivery {
  background-image: url("../img/delivery.png");
  background-repeat: no-repeat;
  background-position: center right 0;
}

.servis__title {
  margin: 0;
  margin-block-end: 34px;
  font-family: raleway, sans-serif;
  font-size: 50px;
  line-height: 50px;
  font-weight: 800;
}

.servis__description {
  margin: 0;
  font-size: 18px;
  line-height: 30px;
}

.delivery__wrapper {
  inline-size: 1160px;
  margin-inline: auto;
  margin-block: 70px;
  background-color: #F0F0F0;
}

.delivery__link {
  position: relative;
  display: flex;
  justify-content: space-between;
  color: inherit;
  text-decoration: none;
}

.delivery__link::before {
  position: absolute;
  content: "";
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(255, 255, 255, 0);
}

.delivery__img {
  box-sizing: border-box;
  inline-size: 125px;
  block-size: 100px;
  margin: 0;
  padding-inline: 39px;
  padding-block: 35px;
  background-color: #FFE17F;
}

.delivery__text {
  align-self: center;
  font-family: raleway, sans-serif;
  font-size: 20px;
  line-height: 23px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.delivery__info {
  box-sizing: border-box;
  inline-size: 125px;
  block-size: 100px;
  margin: 0;
  padding-inline: 42.5px;
  padding-block: 30px;
}

.delivery__button {
  inline-size: 40px;
  block-size: 40px;
  background-color: rgba(220, 220, 220, 0.5);
  border: none;
  border-radius: 50%;
  cursor: pointer;
}

.delivery__icon {
  fill: #000000;
  fill-opacity: 0.3;
}

.delivery__link:hover .delivery__img{
  background-color: #FFC700;
}

.delivery__link:hover .delivery__icon {
  fill-opacity: 1;
}

.delivery__link:active .delivery__img{
  background-color: #FFE17F;
}

.delivery__link:active::before {
  background-color: rgba(255, 255, 255, 0.3);
}

.delivery__link:focus {
  outline: 2px #AF4FFF solid;
  outline-offset: 2px;
}

.page__inner {
  inline-size: 1160px;
  display: flex;
  justify-content: space-between;
  gap: 108px;
  margin-inline: auto;
  margin-block-end: 70px;
}

.about {
  position: relative;
  inline-size: 520px;
}

.about__title {
  margin: 0;
  margin-block: 47px 48px;
  font-family: raleway, sans-serif;
  font-size: 50px;
  line-height: 50px;
  font-weight: 800;
}

.about__title::before {
  position: absolute;
  content: "";
  inline-size: 84px;
  block-size: 7px;
  top: 0;
  left: 0;
  background-color: #000000;
}

.about__text {
  margin: 0;
  margin-inline-end: 23px;
  margin-block-end: 30px;
  font-size: 18px;
  line-height: 30px;
}

.about__list {
  display: flex;
  flex-direction: column;
  gap: 19px;
  margin: 0;
  margin-block-end: 46px;
  padding: 0;
  padding-inline-start: 34px;
  font-size: 18px;
  line-height: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.about__button {
  inline-size: 270px;
  block-size: 8px;
  margin-block-end: 16px;
}

.contacts {
  position: relative;
  inline-size: 532px;
}

.contacts__title {
  margin: 0;
  margin-block: 47px 48px;
  font-family: raleway, sans-serif;
  font-size: 50px;
  line-height: 50px;
  font-weight: 800;
}

.contacts__title::before {
  position: absolute;
  content: "";
  inline-size: 84px;
  block-size: 7px;
  top: 0;
  left: 0;
  background-color: #000000;
}

.contacts__subtitle {
  margin: 0;
  margin-block-start: 30px;
  margin-block-end: 15px;
  font-size: 24px;
  line-height: 30px;
  font-weight: 700;
}

.contacts__text {
  margin: 0;
  margin-inline-end: 35px;
  font-style: normal;
  font-size: 18px;
  line-height: 30px;
}

.contacts__address {
  margin: 0;
  font-style: normal;
  font-size: 18px;
  line-height: 30px;
}

.contacts__phone {
  font-size: 18px;
  line-height: 30px;
  color: #000000;
}

.contacts__list {
  margin: 0;
  margin-block-end: 46px;
  padding: 0;
  list-style-type: none;
  font-size: 18px;
  line-height: 30px;
}

.contacts-whrite__button {
  inline-size: 270px;
  block-size: 8px;
  margin-block-end: 16px;
}

.subscribe {
  background-color: #F0F0F0;
}

.subscribe__wrapper {
  inline-size: 1160px;
  margin-inline: auto;
}

.subscribe__section {
  display: flex;
  justify-content: space-between;
}

.subscribe__title {
  inline-size: 348px;
  margin-block: 64px 144px;
  font-family: raleway, sans-serif;
  font-size: 50px;
  line-height: 50px;
  font-weight: 800;
}

.subscribe__text {
  display: inline-block;
  margin-block: 74px 144px;
  margin-inline: 252px 7px;
  font-size: 18px;
  line-height: 30px;
}

.subscribe__section:has(form) {
  padding-block-end: 56px;
}

.subscribe-form {
  inline-size: 810px;
  display: flex;
}

.subscribe-form__input {
  flex-grow: 1;
  padding-inline: 16px;
  padding-block: 11px;
  background-color: transparent;
  color: rgba(68, 68, 68, 0.5);
  border: none;
  border-bottom: 3px #C4C4C4 solid;
  font-family: inherit;
  font-size: 18px;
  line-height: 30px;
  appearance: none;
}

.subscribe-form__input:focus {
  outline-color: transparent;
  background-color: #DCDCDC;
}

.subscribe-form__input:invalid {
  border-bottom-color: #FF3D3D;
}

.subscribe-form__button {
  inline-size: 253px;
  block-size: 57px;
  background-color: transparent;
  border: 3px #CECECE solid;
  cursor: pointer;
  transition: border-color 50ms ease-out;
}

.subscribe-form__button:hover {
  block-size: 57px;
  border-color: #000000;
  transition: background-color 50ms ease-out, opacity 50ms ease-out;
}

.subscribe-form__button:active {
  block-size: 57px;
  background-color: transparent;
  opacity: 0.3;
}

.subscribe-form__button:focus {
  block-size: 57px;
}

.subscribe__ps {
  position: relative;
  padding-inline-start: 32px;
  align-self: center;
  background-image: url("../img/ok.svg");
  background-repeat: no-repeat;
  background-size: 16px 16px;
  background-position: left 0 center;
  font-size: 18px;
  line-height: 30px;
}

.page-footer {
  background-color: #444444;
}

.page-footer a {
  color: #F0F0F0;
  text-decoration: none;
}

.page-footer__wrapper {
  inline-size: 1160px;
  display: grid;
  grid-template-columns: 236px 1fr 175px;
  margin-inline: auto;
}

.page-footer__logo {
  display: block;
  margin-block: 62px 35px;
}

.page-footer__logo .logo__icon {
  fill: #FFC700;
}

.page-footer__address {
  position: relative;
  margin: 0;
  margin-block-end: 148px;
  text-align: left;
  color: #F0F0F0;
  font-style: normal;
  font-size: 16px;
  line-height: 20px;
}

.page-footer__address::after {
  position: absolute;
  content: "";
  inline-size: 80px;
  block-size: 7px;
  left: 0;
  top: 100px;
  background-color: #FFC500;
}

.page-footer__nav {
  display: flex;
  flex-direction: column;
  gap: 62px;
  align-items: center;
  margin-block: 137px 61px;
}

.page-footer__list {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

.footer-list {
  gap: 35px;
}

.page-footer__link {
  position: relative;
}

.page-footer__link:hover {
  color: #FFC700;
}

.page-footer__link:hover.page-footer__link::after {
  position: absolute;
  content: "";
  inline-size: 100%;
  block-size: 2px;
  left: 0;
  top: 25px;
  background-color: #FFC700;
}

.page-footer__link:active,
.page-footer__link:active.page-footer__link::after {
  opacity: 0.3;
}

.page-footer__link:focus {
  border: 2px #AF4FFF solid;
  outline: none;
}

.page-footer__social {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

.social {
  display: flex;
  justify-content: space-between;
  gap: 15px;
}

.social__link {
  inline-size: 40px;
  block-size: 40px;
  border-radius: 50px;
  background-color: rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.social__link:hover,
.social__link:active {
  background-color: #FFC500;
}

.social__icon {
  fill: #444444;
}

.social__link:active .social__icon {
  fill: rgba(68, 68, 68, 0.3)
}

.social__link:focus {
  outline: 2px #AF4FFF solid;
  border-radius: 50px;
}


.page-footer__phone {
  display: block;
  margin: 0;
  margin-block: 140px 63px;
  text-align: right;
  color: #F0F0F0;
  font-style: normal;
  font-size: 16px;
  line-height: 20px;
}

.page-footer__phone:hover {
  color: #FFC700;
}

.page-footer__phone:active {
  opacity: 0.3;
}

.page-footer__phone:focus {
  border: 2px #AF4FFF solid;
}

.page-footer__copyright {
  display: block;
  margin: 0;
  text-align: right;
}

.page-footer__copyright svg {
  fill: #FFC700;
}

.page-footer__copyright:hover svg {
  fill: #FFFFFF;
}

.page-footer__copyright:active svg {
  opacity: 0.3;
}

.page-footer__copyright:focus svg {
  border: 2px #AF4FFF solid;
}

.catalog-header__wrapper {
  inline-size: 1160px;
  margin-inline: auto;
  margin-block: 0;
}

.catalog-header__title {
  margin: 0;
  margin-inline-start: 60px;
  margin-block: 35px 16px;
  font-family: raleway, sans-serif;
  font-size: 50px;
  line-height: 50px;
  font-weight: 800;
}

.catalog-header__list {
  display: flex;
  gap: 16px;
  margin: 0;
  margin-inline-start: 60px;
  margin-block-end: 35px;
  padding: 0;
  list-style-type: none;
}

.breadcrumbs__item:not(:last-of-type) {
  padding-inline-end: 20px;
  font-size: 16px;
  line-height: 19px;
}

.catalog-products {
  background-color: #F0F0F0;
}

.catalog-products__wrapper {
  inline-size: 1160px;
  display: grid;
  grid-template-columns: 320px 1fr;
  margin-inline: auto;
}

.catalog-products__title {
  margin-block: 25px;
}

.catalog-filter .catalog-products__title {
  margin-block-end: 60px;
}

.catalog-filter {
  padding-inline: 60px;
}

.catalog-filter__group {
  position: relative;
  margin: 0;
  margin-block: 35px;
  padding: 0;
  border: none;
}

.catalog-filter__title {
  padding-block: 12px 20px;
  font-size: 18px;
  line-height: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.catalog-filter__title::before {
  position: absolute;
  content: "";
  inline-size: 200px;
  block-size: 2px;
  top: -2px;
  background-color: #000000;
}

.range__scale {
  position: relative;
  height: 2px;
  margin-bottom: 15px;
  background-color: #DCDCDC;
}

.range__bar {
  position: absolute;
  height: 2px;
  background-color: #000000;
}

.range__toggle {
  position: absolute;
  width: 18px;
  height: 18px;
  background: #EBEBEB;
  border: 2px solid #000000;
  border-radius: 50%;
  cursor: pointer;
}

.range__toggle--min {
  top: -8px;
  left: -9px;
}

.range__toggle--max {
  top: -8px;
  right: -9px;
}

.range__inputs {
  display: flex;
  justify-content: left;
  margin-inline-start: -9px;
}

.range__label {
  display: flex;
  margin-inline-end: 50px;
}

.range__input {
  text-align: center;
  background-color: transparent;
  border: none;
  appearance: textfield;
  font: inherit;
}

.range__input--min {
  inline-size: 20px;
}

.range__input--max {
  inline-size: 50px;
}

.range__input::-webkit-outer-spin-button,
.range__input::-webkit-inner-spin-button {
  appearance: none;
  margin: 0;
}

.catalog-filter__list {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

.catalog-filter__item:not(:last-child) {
  margin-block-end: 20px;
}

.control {
  position: relative;
  display: block;
  padding-left: 36px;
}

.control__mark {
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 20px;
  height: 20px;
  border: 2px solid #242424;
  border-radius: 3px;
}

.control__input[type="checkbox"]:checked+.control__mark::before {
  position: absolute;
  content: "";
  top: 9px;
  left: 4px;
  width: 12px;
  height: 2px;
  background-color: #000000;
}

.control__input[type="radio"]+.control__mark {
  border-radius: 50%;
}

.control__input[type="radio"]:checked+.control__mark::before {
  position: absolute;
  content: "";
  top: 6px;
  left: 6px;
  inline-size: 8px;
  block-size: 8px;
  border-radius: 50%;
  background-color: #000000;
}

.control-label {
  font-size: 16px;
  line-height: 19px;
}

.catalog-filter__button {
  inline-size: 210px;
  block-size: 8px;
}

.sorting {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-inline: 40px;
}

.sorting__select {
  position: relative;
  inline-size: 160px;
  display: flex;
  align-items: center;
}

.select__control {
  inline-size: 100%;
  padding-inline-end: 50px;
  font: inherit;
  background-color: transparent;
  border: none;
  background-image: url("../img/select-arrow.svg");
  background-repeat: no-repeat;
  background-position: right 12px center;
  appearance: none;
  font-size: 18px;
  line-height: 30px;
}

.sorting__toggles {
  display: flex;
}

.sorting__toggle {
  inline-size: 30px;
  block-size: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
}

.sorting__icon {
  fill: #000000;
  fill-opacity: 0.2;
}

.product {
  display: grid;
  row-gap: 44px;
  padding-inline: 40px;
  padding-block: 70px 78px;
  background-color: #FFFFFF;
}

.product__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 40px;
  row-gap: 44px;
  margin: 0;
  padding: 0;
  list-style-type: none;
}

.product__image {
  display: block;
  margin-block-end: 32px;
}

.product__description {
  display: flex;
  justify-content: space-between;
}

.product__title {
  margin: 0;
  text-align: left;
  font-size: 18px;
  line-height: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.product__price {
  font-size: 18px;
  line-height: 21px;
  font-weight: 400;
}

.product__button {
  padding-inline: 39px;
  padding-block: 16px;
  background-color: transparent;
  border: 3px #E5E5E5 solid;
  font-size: 16px;
  line-height: 19px;
}

.product__pagination {
  display: flex;
  justify-content: space-between;
  background-color: #EBEBEB;
}

.pagination__list {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  padding-block: 16px;
  list-style-type: none;
}

.pagination__link {
  display: flex;
  inline-size: 40px;
  block-size: 40px;
  justify-content: center;
  align-items: center;
  color: #444444;
  opacity: 0.3;
  text-decoration: none;
  font-size: 16px;
  line-height: 19px;
}

.pagination__link--prev,
.pagination__link--next {
  inline-size: 128px;
  margin-block: auto;
  background-color: transparent;
  color: #000000;
  opacity: 1;
}
